<?php
//define application root dir
define("DS", DIRECTORY_SEPARATOR);

/**
 * override default dir path in niced system
 */
define('DIR_ROOT', dirname(dirname(dirname(__FILE__))).DS);
define('DIR_SYSTEM', DIR_ROOT."system".DS);
define('DIR_APPLICATION', DIR_ROOT."application".DS);

    //override in application dir
define('DIR_APPS', DIR_APPLICATION.'apps'.DS);
define('DIR_CLASSES', DIR_APPLICATION.'classes'.DS);
define('DIR_PUBLIC', DIR_APPLICATION.'public_html'.DS);
define('DIR_INCLUDE', DIR_APPLICATION."include".DS);
define('DIR_CONFIG', DIR_APPLICATION.'config'.DS);
define('DIR_DAO', DIR_APPLICATION.'dao'.DS);
define('DIR_HELPER', DIR_CLASSES."helper".DS);//helper, thirdparty util
define('DIR_UTIL', DIR_CLASSES."util".DS);//tool
